regarding sitemap

11 views
Skip to first unread message

Mindaugas Lučka

unread,
Aug 9, 2013, 7:53:41 AM8/9/13
to seagull...@googlegroups.com
Hello. thank you for you advices.
However I have one more inquiry regarding sitemap. I tried to generate a sitemap for seagull framework based website eco-meta.com using sitemap module. However the following error occurred. Could you provide any ideas?

MESSAGE: symlink() has been disabled for security reasons
TYPE: Warning
FILE: /home/ekologi/domains/eco-meta.com/lib/SGL/Task/Install.php
LINE: 1378
DEBUG INFO:

1373 ' one of the modules therefore an attempt to create ' .
1374 ' a corresponding symlink was made ' .
1375 ' but the symlink already exists ' .
1376 ' in seagull/www');
1377 } else {

1378 $ret = symlink($wwwDir, SGL_WEB_ROOT . "/$module");

1379 }
1380
1381 } else {
1382 $ret = PEAR::raiseError('A www directory was detected in one of the modules '.
1383 ' but the required webserver' .


MESSAGE: Cannot modify header information - headers already sent by (output started at /home/ekologi/domains/eco-meta.com/lib/SGL/ErrorHandler.php:181)
TYPE: Warning
FILE: /home/ekologi/domains/eco-meta.com/lib/SGL/HTTP.php
LINE: 125
DEBUG INFO:

120 }
121 // determine is session propagated in cookies or URL
122 SGL_Url::addSessionInfo($url);
123 }
124 // must be absolute URL, ie, string

125 header('Location: ' . $url);

126 exit;
127 }
128 }
129 ?>
130

Demian Turner

unread,
Aug 9, 2013, 7:56:42 AM8/9/13
to seagull...@googlegroups.com
Hi Mindaugas

The message is pretty clear:

MESSAGE: symlink() has been disabled for security reasons

it's telling you that your hosting provider has disabled access to php's symlink() function.  Without this the code won't work.

cheers Demian

--
You received this message because you are subscribed to the Google Groups "Seagull PHP Framework General Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seagull_gener...@googlegroups.com.
To post to this group, send email to seagull...@googlegroups.com.
Visit this group at http://groups.google.com/group/seagull_general.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mindaugas Lučka

unread,
Aug 15, 2013, 12:03:54 PM8/15/13
to seagull...@googlegroups.com
hello. Hosting provider representative said that it is not allowed to enable symlink because of security reasons...
However after attempt to login to CMS this error occurs:
Warning: Cannot modify header information - headers already sent by (output started at /home/ekologi/domains/eco-meta.com/var/www.eco-meta.com.conf.php:1) in /home/ekologi/domains/eco-meta.com/lib/SGL/HTTP.php on line 134

Any ideas how to resolve this error?

Demian Turner

unread,
Aug 15, 2013, 12:08:57 PM8/15/13
to seagull...@googlegroups.com
I guess get a better hosting provider, you can get great quality for really cheap these days https://www.digitalocean.com 
Reply all
Reply to author
Forward
0 new messages