PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 25th, 2007, 11:01 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
I have just reinstalled the photopost product - the admin is throwning 3 errors.

I have reinstalled the photopost product and removed the install script - this was done after the suggest your staff made to us was to turn off mysql strict mode and rerun install - which has been done - and yes things look a lot better and when i do log on as administrater i do get the admin option in the menu as should be - but when i select the admin and go to the admin panel I have three errors being thrown they are the following;

Warning: opendir(C:Inetpubvhostsurningtaper.orghttpdocsphotopost/data/) [function.opendir]: failed to open dir: Invalid argument in C:\Inetpub\vhosts\burningtaper.org\httpdocs\photopost\adm-inc.php on line 589

Warning: readdir(): supplied argument is not a valid Directory resource in C:\Inetpub\vhosts\burningtaper.org\httpdocs\photopost\adm-inc.php on line 592

Warning: closedir(): supplied argument is not a valid Directory resource in
C:\Inetpub\vhosts\burningtaper.org\httpdocs\photopost\adm-inc.php on line 609

I do not understand what could be causeing the errors i am on a windows server does that make a diffence?

Maybe your technical staff have a idea on the errors - I do see as far as i can that it does not impact the products functioning as i can see from this point - but i do not daire do more then look around until I understand the errors being thrown.

THANKS

Frank H. Shaw
Frank Shaw is offline   Reply With Quote
Old June 26th, 2007, 07:27 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
It would appear that your server paths were entered with back slashes and not forward slashes. Try:

C:/Inetpub/vhosts/burningtaper.org/httpdocs/photopost/data
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old June 26th, 2007, 12:26 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
I need to understand how to remove the incorrect slashes and put in the correct ones

It would appear that your server paths were entered with back slashes and not forward slashes. Try:

C:/Inetpub/vhosts/burningtaper.org/httpdocs/photopost/data

So in what spot do i go to in the photopost product and fix the incorrect slashes \ to a / slashes. Please explian the steps and where i go to do this - i am very new to the product and do not want to screw any thing up - at least on my part!

THANKS

Frank H. Shaw
Frank Shaw is offline   Reply With Quote
Old June 26th, 2007, 02:35 PM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
In the Admin -> Global Options you should have access to change these.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old June 26th, 2007, 11:37 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
ok I went in to the source file adm-inc.php and have inserted the function below - but i do not see any thng wrong DO YOU?

The problem is on line 589 opendir($dir)



Problem is on line 592 readdir($dir)



Problem is on line 609 closedir($dir)





So I have gone into the actual file and looked it the lines that threw the warnings and saw the lines but I did not see what caused the warnings can you look and see if you understand the errors;





Warning: opendir(C:Inetpubvhostsurningtaper.orghttpdocsphotopost/data/) [function.opendir]: failed to open dir: Invalid argument in C:\Inetpub\vhosts\burningtaper.org\httpdocs\photopost\adm-inc.php on line 589

Warning: readdir(): supplied argument is not a valid Directory resource in C:\Inetpub\vhosts\burningtaper.org\httpdocs\photopost\adm-inc.php on line 592

Warning: closedir(): supplied argument is not a valid Directory resource in
C:\Inetpub\vhosts\burningtaper.org\httpdocs\photopost\adm-inc.php on line 609

Thound at is Is the sorce code found I cut the whole function out ?

function dirsize($dir)

{

// calculate the size of files in $dir, (it descends recursively into other dirs)

$dh = opendir($dir);

$size = 0;

while (($file = readdir($dh)) !== false)

{

if ($file != "." and $file != "..")

{

$path = $dir."/".$file;

if (is_dir($path))

{

$size += dirsize($path);

}

elseif (is_file($path))

{

$size += filesize($path);

}

}

}

closedir($dh);

return( $size );

}
Frank Shaw is offline   Reply With Quote
Old June 27th, 2007, 05:09 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
In Admin => Global Options and Storage Options as well you must make sure the paths to the data directory are correct

To venture a guess I would beleive your storage options are incorrect
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 7th, 2007, 11:13 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
ok after the bad install and teh product was reinstalled there are places where the pathing got messed up and a care review of this i was able to clean up the pathing - we are running on windows server that might be a issue why the pathng got messed up - but i found two places in my installion that it happened with.

THANKS

Frank H. Shaw
Frank Shaw is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstalled now have cnutter Photopost Pro Installation & Upgrades 1 August 19th, 2006 06:14 PM
Admin Control panel errors.... fishmasters Photopost Pro Installation & Upgrades 18 August 15th, 2006 08:47 AM
errors while trying to log into admin cp. The M@trix Classifieds Installation & Upgrades 4 March 24th, 2006 05:50 PM
Templates shouldn't need to be reinstalled PhoenixDown21 vBGallery Suggestions 1 February 28th, 2006 07:53 AM
Edit Product bugs? (blank fields in product edit & strange product order) Khashyar ReviewPost Bug Reports 0 April 23rd, 2005 12:51 AM


All times are GMT -5. The time now is 06:08 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0